package com.zds.controller;

import io.jboot.web.controller.JbootController;
import io.jboot.web.controller.annotation.RequestMapping;
import io.jboot.web.limitation.annotation.EnableRequestLimit;

/**
 * Created by zhangds on 2018/9/25.
 * index
 */
@RequestMapping("/index")
public class IndexController extends JbootController{

    @EnableRequestLimit(rate = 1)
    public void index(){
        renderText("hello !");
    }
}
